﻿namespace EyeOpen.Combinatorics.Mvc.Models
{
	using System.ComponentModel.DataAnnotations;
	using EyeOpen.Web.Mvc;

	public class TeamModelQuery
	{
		[Required(ErrorMessage = "Team names required")]
		[Display(Name = "Teams name")]

		[CsvRemoteAttribute(3, "Required at least {0} values separated by comma")]
		////[Csv(3, "Required at least {0} values separated by comma")]
		public string Names { get; set; }

		[Required(ErrorMessage = "Number of groups required")]
		[Display(Name = "Groups number")]
		public int Groups { get; set; }
	}
}